lcPrintBlock Home

Prints any rectangular area of a block.

 BOOL lcPrintBlock (
   HANDLE hBlock,
   double RectX,
   double RectY,
   double RectW,
   double RectH,
   double RectScale,
   double PapLeft,
   double PapTop,
   int Options
 );

Parameters
hBlock
  Handle to a block.
RectX RectY
  Coordinates of left bottom corner of the area to be printed.
RectW RectH
  Width and height of the area to be printed.
RectScale
  Print scale.
PapLeft PapTop
  Defines offset on a paper for the print start.
Options
  Can be zero or a combination of the following constants:

Value Meaning
LC_PRN_SCALELW Scale linewidths
LC_PRN_1COLOR Force all colors to black


Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Code sample,   lcPrintLayout,   lcPrintSetup